package com.sp.scmdb.bean;

import java.util.List;
import java.util.Map;

import com.sp.scmdb.entity.Department;
import com.sp.scmdb.entity.ViewRealEmpData;

public class ManulOutWellBean extends PageBean {
	
	private List<Department> listDept;
	
	private List<ViewRealEmpData> listEmpData;
	
	public Map<String, String> inWellTimeMap;
	
	private String inWellTime;
	
	private String empName;
	
	private String empLabelID;
	
	private String empDepID;
	
	public String getInWellTime() {
		return inWellTime;
	}

	public void setInWellTime(String inWellTime) {
		this.inWellTime = inWellTime;
	}

	public String getEmpName() {
		return empName;
	}

	public void setEmpName(String empName) {
		this.empName = empName;
	}

	public String getEmpLabelID() {
		return empLabelID;
	}

	public void setEmpLabelID(String empLabelID) {
		this.empLabelID = empLabelID;
	}

	public String getEmpDepID() {
		return empDepID;
	}

	public void setEmpDepID(String empDepID) {
		this.empDepID = empDepID;
	}

	public Map<String, String> getInWellTimeMap() {
		return inWellTimeMap;
	}

	public void setInWellTimeMap(Map<String, String> inWellTime) {
		this.inWellTimeMap = inWellTime;
	}

	public List<ViewRealEmpData> getListEmpData() {
		return listEmpData;
	}
	
	public void setListEmpData(List<ViewRealEmpData> listEmpData) {
		this.listEmpData = listEmpData;
	}
	
	public List<Department> getListDept() {
		return listDept;
	}
	
	public void setListDept(List<Department> listDept) {
		this.listDept = listDept;
	}
	
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((empDepID == null) ? 0 : empDepID.hashCode());
		result = prime * result
				+ ((empLabelID == null) ? 0 : empLabelID.hashCode());
		result = prime * result + ((empName == null) ? 0 : empName.hashCode());
		result = prime * result
				+ ((inWellTime == null) ? 0 : inWellTime.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ManulOutWellBean other = (ManulOutWellBean) obj;
		if (empDepID == null) {
			if (other.empDepID != null)
				return false;
		} else if (!empDepID.equals(other.empDepID))
			return false;
		if (empLabelID == null) {
			if (other.empLabelID != null)
				return false;
		} else if (!empLabelID.equals(other.empLabelID))
			return false;
		if (empName == null) {
			if (other.empName != null)
				return false;
		} else if (!empName.equals(other.empName))
			return false;
		if (inWellTime == null) {
			if (other.inWellTime != null)
				return false;
		} else if (!inWellTime.equals(other.inWellTime))
			return false;
		return true;
	}

}
